SMAHR02600_대장암판정[공단건진].xrw 76 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHR01000.xrw
  4. * 설 명 : 검사결과관리[일반건진]
  5. * 설 계 자 : 김호익
  6. * 작 성 자 : 김호익
  7. * 작 성 일 : 2007.07.13
  8. * 수정이력 :
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>Untitle</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <acptinfo>
  20. <item>
  21. <pid/>
  22. <hngnm/>
  23. <rgstno1/>
  24. <rgstno2/>
  25. <sex/>
  26. <age/>
  27. <cmpycd/>
  28. <cmpynm/>
  29. <pkgcd/>
  30. <pkgnm/>
  31. <schlgrde/>
  32. <clsid/>
  33. <stuid/>
  34. <plceflag/>
  35. <orddd/>
  36. <judgdd/>
  37. <judgdrid/>
  38. <drnm/>
  39. <reexamfg/>
  40. </item>
  41. <rsltlst>
  42. <item>
  43. <prcpdd/>
  44. <execprcpuniqno/>
  45. <prcpno/>
  46. <testcd/>
  47. <testnm/>
  48. <testrsltcnts>
  49. </testrsltcnts>
  50. <outtestrsltcnts/>
  51. <rsltunit/>
  52. <rsltflag/>
  53. <remcnts/>
  54. <assorsltcnts/>
  55. <judgcd/>
  56. <judgrsltcnts/>
  57. <inptflag/>
  58. <choirslt>
  59. <item/>
  60. </choirslt>
  61. <judgmark/>
  62. <refh/>
  63. <refl/>
  64. </item>
  65. </rsltlst>
  66. <rsltlst2>
  67. <item>
  68. <prcpdd/>
  69. <execprcpuniqno/>
  70. <prcpno/>
  71. <testcd/>
  72. <testnm/>
  73. <testrsltcnts>
  74. </testrsltcnts>
  75. <outtestrsltcnts/>
  76. <rsltunit/>
  77. <rsltflag/>
  78. <remcnts/>
  79. <assorsltcnts/>
  80. <judgcd/>
  81. <judgrsltcnts/>
  82. <inptflag/>
  83. <choirslt>
  84. <item/>
  85. </choirslt>
  86. <judgmark/>
  87. <refh/>
  88. <refl/>
  89. </item>
  90. </rsltlst2>
  91. <judginfo>
  92. <licncrjudg>
  93. <judgdd/>
  94. <judgdrid/>
  95. <reactexammthd/>
  96. <reactexamrslt/>
  97. <reactexamrsltval/>
  98. <reactexamrsltbval/>
  99. <colonreadcmt1/>
  100. <colonreadcmtpolyp1/>
  101. <colonsickpos1/>
  102. <colonreadcmt2/>
  103. <colonreadcmtpolyp2/>
  104. <colonsickpos2/>
  105. <colonreadcmt3/>
  106. <colonreadcmtpolyp3/>
  107. <colonsickpos3/>
  108. <colonreadcmtetc/>
  109. <colonreadcmtetcrem/>
  110. <liescopetestyn/>
  111. <liescopereadcmt1/>
  112. <liescopereadcmtpolyp1/>
  113. <liescopereadcmtexcision1/>
  114. <liescopesickpos1/>
  115. <liescopereadcmt2/>
  116. <liescopereadcmtpolyp2/>
  117. <liescopereadcmtexcision2/>
  118. <liescopesickpos2/>
  119. <liescopereadcmt3/>
  120. <liescopereadcmtpolyp3/>
  121. <liescopereadcmtexcision3/>
  122. <liescopesickpos3/>
  123. <liescopereadcmtetc/>
  124. <liescopereadcmtetcrem/>
  125. <tissexamyn/>
  126. <tissdiagpathotissexamcnt/>
  127. <tissdiagobscmt/>
  128. <tissdiagcncr/>
  129. <tissdiagcncrrem/>
  130. <tissdiagetc/>
  131. <tissdiagetcrem/>
  132. <judgcolonflag/>
  133. <judgcolonflagrem/>
  134. <judgreactflag/>
  135. <oldlicncrpatyn/>
  136. <judgexamcnts/>
  137. </licncrjudg>
  138. <specjudg/>
  139. <genrjudg/>
  140. <batchlicncrjudg>
  141. <judgdd/>
  142. <judgdrid/>
  143. <reactexammthd/>
  144. <reactexamrslt/>
  145. <reactexamrsltval/>
  146. <reactexamrsltbval/>
  147. <colonreadcmt1/>
  148. <colonreadcmtpolyp1/>
  149. <colonsickpos1/>
  150. <colonreadcmt2/>
  151. <colonreadcmtpolyp2/>
  152. <colonsickpos2/>
  153. <colonreadcmt3/>
  154. <colonreadcmtpolyp3/>
  155. <colonsickpos3/>
  156. <colonreadcmtetc/>
  157. <colonreadcmtetcrem/>
  158. <liescopetestyn/>
  159. <liescopereadcmt1/>
  160. <liescopereadcmtpolyp1/>
  161. <liescopereadcmtexcision1/>
  162. <liescopesickpos1/>
  163. <liescopereadcmt2/>
  164. <liescopereadcmtpolyp2/>
  165. <liescopereadcmtexcision2/>
  166. <liescopesickpos2/>
  167. <liescopereadcmt3/>
  168. <liescopereadcmtpolyp3/>
  169. <liescopereadcmtexcision3/>
  170. <liescopesickpos3/>
  171. <liescopereadcmtetc/>
  172. <liescopereadcmtetcrem/>
  173. <tissexamyn/>
  174. <tissdiagpathotissexamcnt/>
  175. <tissdiagobscmt/>
  176. <tissdiagcncr/>
  177. <tissdiagcncrrem/>
  178. <tissdiagetc/>
  179. <tissdiagetcrem/>
  180. <judgcolonflag/>
  181. <judgcolonflagrem/>
  182. <judgreactflag/>
  183. <oldlicncrpatyn/>
  184. <judgexamcnts/>
  185. </batchlicncrjudg>
  186. </judginfo>
  187. <inqrlst>
  188. <item>
  189. <inqrcd/>
  190. <inqrnm/>
  191. <answcd/>
  192. <answcnts/>
  193. <remcnts/>
  194. <answflag/>
  195. <inptflag/>
  196. <inqrflag/>
  197. </item>
  198. </inqrlst>
  199. </acptinfo>
  200. <tempinfo>
  201. <rslttext>
  202. <rsltcnts/>
  203. <rslt_idx/>
  204. <rslt_col/>
  205. </rslttext>
  206. <anslst>
  207. <anslst>
  208. <item>
  209. <answcd/>
  210. <answcnts/>
  211. <answcnts/>
  212. <reminptyn/>
  213. </item>
  214. </anslst>
  215. </anslst>
  216. <choilst>
  217. <item3>
  218. <sel/>
  219. <rsltcd/>
  220. <rsltnm/>
  221. </item3>
  222. <item4>
  223. <sel/>
  224. <rsltcd/>
  225. <rsltnm/>
  226. </item4>
  227. </choilst>
  228. <answcd/>
  229. <assorsltlst>
  230. <itemasso>
  231. <sel/>
  232. <rsltcd/>
  233. <rsltnm/>
  234. </itemasso>
  235. </assorsltlst>
  236. </tempinfo>
  237. </main>
  238. </root>
  239. </instance>
  240. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  241. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  242. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  243. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  244. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  245. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  246. <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
  247. <script type="javascript" src="../../../com/signweb/js/ZES001.js"/>
  248. <submission id="TXAHR01002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  249. <submission id="TXAHB02402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/temp"/>
  250. <submission id="TRAHR01004" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
  251. <submission id="TXAHR02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  252. <submission id="TXAHR02602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  253. <submission id="TRAHR02601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/acptinfo/judginfo"/>
  254. </model>
  255. <script type="javascript">
  256. <![CDATA[
  257. var m_vHealexamflag = "G";
  258. function fViewNum(){
  259. window.parent.javascript.vidx = "1";
  260. }
  261. /**
  262. * 소견 및 조치내용 가져오기
  263. * 소견및 조치내용은 종합판정문구 관리에서 건진구분 - 일반으로 관리.
  264. * vEditObj : 선택한 판정내용이 입력될 입력컨트롤명
  265. * SPAHR00300_PARAM1: 다중선택여부(Y/N)
  266. * SPAHR00300_PARAM2: 목적노드Set
  267. * SPAHR00300_PARAM3: 종합판정문구코드 목적노드
  268. * SPAHR00300_PARAM4: 종합판정문구내용 목적노드
  269. * SPAHR00300_PARAM5: 종합판정문구검색코드
  270. * SPAHR00300_PARAM6: 종합판정문구검색내용
  271. * SPAHR00300_PARAM7: 건진구분
  272. */
  273. function fGetJudgExmpCnts(vEditObj,jCode){
  274. if( vEditObj == null ) return ;
  275. model.makeNode("/root/temp/judgexaminfo");
  276. setParameter("SPAHR00300_PARAM1", "Y");
  277. setParameter("SPAHR00300_PARAM2", "/root/temp/judgexaminfo");
  278. setParameter("SPAHR00300_PARAM7", fGetHealExamFlag() );
  279. setParameter("SPAHR00300_PARAM8", jCode );
  280. modal("SPAHR00300", 100, 100, "SPAHR00300");
  281. if( model.getValue("/root/temp/SPAHR00300/okflag") != "ok" ) return ;
  282. var vNodeList = instance1.selectNodes("/root/temp/judgexaminfo/list");
  283. if( vNodeList == null ) reutrn ;
  284. var vJudgCnts = model.getValue( vEditObj.attribute("ref") );
  285. for( var i = 0 ; i < vNodeList.length ; i++){
  286. vJudgCnts += "- "+vNodeList.item(i).judghangcnts.text;
  287. }
  288. model.setValue( vEditObj.attribute("ref") , vJudgCnts );
  289. vEditObj.refresh();
  290. }
  291. function fCheckExamInfo(){
  292. var idx = window.parent.grd_acptlst.row;
  293. if( idx < 1) {
  294. //messageBox("수진자를 ", "C002");
  295. return false;
  296. }
  297. model.copyNode("/root/main/acptinfo/item", window.parent.grd_acptlst.nodeset + "[" + idx + "]");
  298. //결과내역가져오기
  299. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  300. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  301. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  302. var pid = window.parent.model.getValue(sNode + "pid");
  303. var orddd = window.parent.model.getValue(sNode + "orddd");
  304. var cretno = window.parent.model.getValue(sNode + "cretno");
  305. var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
  306. if( (pid == "" ) || (orddd=="") || (cretno == "") || (rsrvdd == "") || (rsrvno == "") ){
  307. messageBox("유효하지 않은 데이터 입니다!", "E999");
  308. return false;
  309. }
  310. model.setValue("/root/send/srchrsrvdd" , rsrvdd );
  311. model.setValue("/root/send/srchrsrvno" , rsrvno );
  312. model.setValue("/root/send/srchpid" , pid );
  313. model.setValue("/root/send/srchorddd" , orddd );
  314. model.setValue("/root/send/srchcretno" , cretno );
  315. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() );
  316. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  317. //model.setValue("/root/send/srchpkgcd" , pkgcd);
  318. }
  319. /**
  320. *건진내역별 상세내역가져오기( 판정내역조회)
  321. *건진구분/건진일자/검사실/환자id/단체코드/패키지코드별 조회
  322. */
  323. function fGetJudgInfo( ){
  324. if( fCheckExamInfo() == false ) return ;
  325. openLoadingBar("판정정보 ") ;//처리중 화면을 오픈한다.
  326. model.makeValue("root/send/srchhealexamflag","G");
  327. submit("TRAHR02601") ;
  328. // 특정값에 따라 Disabled 여부 결정
  329. fDisabledChk();
  330. closeLoadingBar() ;//처리중 화면을 close한다.
  331. }
  332. /**===================================================================================
  333. @desc : 공통 저장정보관련 check
  334. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  335. *저장구분 : I=> 문진만, R=>결과만, J1 => 1차판정만 ...
  336. =====================================================================================*/
  337. function fCheckSaveInfo(){
  338. var idx = opener.grd_acptlst.row;
  339. if( idx < 1 ) {
  340. return false;
  341. }
  342. if( m_vHealexamflag == "" ) {
  343. messageBox("업무구분이 존재하지 않습니다.", "E999");
  344. return false;
  345. }
  346. var vAcptNode = opener.grd_acptlst.nodeset + "[" + idx;
  347. model.removenode("/root/send/save");
  348. model.refresh();
  349. var idx = window.parent.grd_acptlst.row;
  350. if( idx < 1) {
  351. //messageBox("수진자를 ", "C002");
  352. return false;
  353. }
  354. //결과내역가져오기
  355. var sNode = window.parent.grd_acptlst.nodeset + "[" + idx + "]/";
  356. var rsrvdd = window.parent.model.getValue(sNode + "rsrvdd");
  357. var rsrvno = window.parent.model.getValue(sNode + "rsrvno");
  358. var pid = window.parent.model.getValue(sNode + "pid");
  359. var orddd = window.parent.model.getValue(sNode + "orddd");
  360. var cretno = window.parent.model.getValue(sNode + "cretno");
  361. var pkgcd = window.parent.model.getValue(sNode + "pkgcd");
  362. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/healexamflag" , m_vHealexamflag );
  363. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/healexamdetlflag" , fGetHealExamFlag() );
  364. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/rsrvdd" , rsrvdd );
  365. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/rsrvno" , rsrvno );
  366. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/pid" , pid );
  367. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/orddd" , orddd );
  368. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/cretno" , cretno );
  369. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/pkgcd" , pkgcd );
  370. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/sex" , model.getValue("/root/main/acptinfo/item/sex") );
  371. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/age" , model.getValue("root/main/acptinfo/item/age") );
  372. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/judgcd" , "L");
  373. return true ;
  374. }
  375. /*===================================================================================
  376. ** 판정입력구분
  377. *1 - 1차 + 구강
  378. *2 - 2차
  379. *S - 특수건진
  380. *B - 혈액정밀
  381. *C - 암건진
  382. ===================================================================================*/
  383. function fGetJudgInptFlag() {
  384. var judg_idx = swt_judg.selectedIndex ;
  385. var ret = "1" ;
  386. switch ( judg_idx ) {
  387. case 0:
  388. ret = "1" ;
  389. break;
  390. case 1:
  391. ret = "2" ;
  392. break;
  393. case 2:
  394. ret = "1" ;
  395. break;
  396. case 3:
  397. ret = "S" ;
  398. break;
  399. case 4:
  400. ret = "B" ;
  401. break;
  402. case 5:
  403. ret = "C" ;
  404. break;
  405. default:
  406. ret = "1" ;
  407. break;
  408. }
  409. return ret;
  410. }
  411. /**===================================================================================
  412. @desc : 판정입력
  413. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  414. *판정내역 :
  415. @param :bCheckSave => true이면 저장기본정보 check.
  416. 전체저장시는 저장기본정보를 check할 필요가 없으므로...pass하도록...하기위해.
  417. =====================================================================================*/
  418. function fSaveJudg(saveflag ){
  419. var ret = false;
  420. var signedData = "";
  421. // if( bCheckSave == true ){
  422. // if( !fCheckSaveInfo() ) return ret ;
  423. // }
  424. if( !fCheckSaveInfo() ) return ret ;
  425. model.makeValue("/root/main/acptinfo/judginfo/licncrjudg/saveflag", saveflag);
  426. //model.setValue("/root/send/save/judginptflag", "L" );
  427. if ( saveflag == "J" ) {
  428. if( model.getValue( cmb_scndjudgdrid.attribute("ref") ) == "" ) {
  429. messageBox("판정의를 ", "C001");
  430. return ret;
  431. }
  432. var licncr_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/licncrjudg"));
  433. // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
  434. /************************************************************************************************************
  435. 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
  436. *************************************************************************************************************/
  437. //signedData = zesfSignData( licncr_judg , getUserId(), true );
  438. //if(signedData == null || signedData == "") return;
  439. openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
  440. } else if ( saveflag == "R" ) {
  441. openLoadingBar("결과 저장 중입니다..") ;//처리중 화면을 오픈한다.
  442. }
  443. model.makeNode("/root/send/save/savejudg");
  444. model.resetInstanceNode("/root/send/save/savejudg");
  445. model.copyNode("/root/send/save/savejudg", "/root/main/acptinfo/judginfo/licncrjudg");
  446. //ret = submit("TXAHR01002");
  447. ret = submit("TXAHR02601");
  448. closeLoadingBar() ;//처리중 화면을 close한다.
  449. //정상적 저장 시 판정내역 재 조회
  450. if(ret == true){
  451. fGetJudgInfo();
  452. }
  453. return ret;
  454. }
  455. /**===================================================================================
  456. @desc : 일괄판정입력
  457. *접수정보 : 건진구분/건진상세구분/예약일자/예약번호/등록번호/진료일자
  458. *판정내역 :
  459. =====================================================================================*/
  460. function fSaveBatchJudg(saveflag ){
  461. var ret = false;
  462. var chk = false;
  463. var signedData = "";
  464. model.makeValue("/root/main/acptinfo/judginfo/batchlicncrjudg/saveflag", saveflag);
  465. opener.grd_acptlst.clearStatus();
  466. // 대상자 중 선택내역을 체크한다.
  467. for(var i=1; i < opener.grd_acptlst.rows; i++) {
  468. var sel = opener.grd_acptlst.valueMatrix( i , opener.grd_acptlst.colRef("sel"));
  469. var assorsltcdflag = opener.grd_acptlst.valueMatrix( i , opener.grd_acptlst.colRef("assorsltcd"));
  470. if(sel == "Y") {
  471. opener.grd_acptlst.rowStatus(i) = 2;
  472. }
  473. if(assorsltcdflag == "Y") {
  474. chk = true;
  475. }
  476. }
  477. var saveBatchAcpt = getGridUpdateData(opener.grd_acptlst);
  478. if(chk) {
  479. messageBox("양성인 대상자가 선택되어" , "I010");
  480. return;
  481. }
  482. if(saveBatchAcpt == "") {
  483. messageBox("선택된 내역이" , "I004");
  484. return ;
  485. }
  486. if ( saveflag == "J" ) {
  487. if( model.getValue("/root/main/acptinfo/judginfo/batchlicncrjudg/judgdrid") == "" ) {
  488. messageBox("판정의를 ", "C001");
  489. return ret;
  490. }
  491. var licncr_judg = getNodeListCSV(instance1.selectNodes("/root/main/acptinfo/judginfo/batchlicncrjudg"));
  492. // 인증저장만 콜한다. 인증데이터 저장은 하지 않음
  493. /************************************************************************************************************
  494. 2010.04.27. 여의도 성모병원 산업의학센터 정은덕 선생님 요청으로 인증저장 주석처리함.
  495. *************************************************************************************************************/
  496. //signedData = zesfSignData( licncr_judg , getUserId(), true );
  497. if(signedData == null || signedData == "") return;
  498. openLoadingBar("판정 저장 중입니다..") ;//처리중 화면을 오픈한다.
  499. } else if ( saveflag == "R" ) {
  500. openLoadingBar("결과 저장 중입니다..") ;//처리중 화면을 오픈한다.
  501. }
  502. model.makeValue("/root/main/acptinfo/judginfo/batchlicncrjudg/judgcd" , "L"); // 판정 셋팅
  503. model.makeNode("/root/send/save/savejudg");
  504. model.resetInstanceNode("/root/send/save/savejudg");
  505. model.copyNode("/root/send/save/savejudg", "/root/main/acptinfo/judginfo/batchlicncrjudg");
  506. model.makeValue("/root/send/save/savejudg/acptinfo" , saveBatchAcpt);
  507. ret = submit("TXAHR02602");
  508. closeLoadingBar() ;//처리중 화면을 close한다.
  509. //정상적 저장 시 판정내역 재 조회
  510. /*if(ret == true){
  511. fGetJudgInfo();
  512. }*/
  513. return ret;
  514. }
  515. /**===================================================================================
  516. @desc : 공통 저장정보관련 초기화
  517. =====================================================================================*/
  518. function fInitSaveData(){
  519. model.resetInstanceNode("/root/send/save");
  520. }
  521. function fInitDasplay() {
  522. //1차건진 판정코드
  523. model.copyNode("/root",opener.root);//parent
  524. nodenumber = 0;
  525. fCtrlSize();
  526. fSetGridInitState(grd_rsltlst);
  527. btn_fstjudg.selected = true;
  528. model.toggle("case_first");
  529. grd_rsltlst.clearStatus();
  530. if (cmb_reactexammthd.value =='') {
  531. cmb_reactexammthd.select(0);
  532. cmb_reactexamrslt.select(0);
  533. var nodeList = instance1.selectNodes("/root/main/acptinfo/rsltlst/item");
  534. for (var i=0 ; i<nodeList.length ; i++) {
  535. if (model.getValue("/root/main/acptinfo/rsltlst/item["+ i + "]/testcd") == 'LUP102' && model.getValue("/root/main/acptinfo/rsltlst/item["+ i + "]/assorsltcd") == '2') {
  536. cmb_reactexamrslt.select(1);
  537. }
  538. }
  539. }
  540. // 특정값에 따라 Disabled 여부 결정
  541. fDisabledChk();
  542. }
  543. function fInitDasplayResult(){
  544. model.copyNode("/root", opener.root);//parent
  545. model.refresh();
  546. }
  547. function fdataValue(vTestcd,vSubcd){
  548. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemexmp");
  549. for (var i=0; i<=nodeCount;i++){
  550. // if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  551. if ((model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i +"]/rsltcd")==vSubcd)){
  552. nodenumber = i;
  553. return model.getValue("/root/main/acptinfo/rsltlst/itemexmp["+i+"]/rsltnm");
  554. }
  555. }
  556. }
  557. /**
  558. ** 결과입력 grid size 늘이기/줄이기
  559. */
  560. function fSetRsltSwtSize( bLarge ){
  561. //기존상태 높이
  562. if(getUserInfo("dutplceinstcd") == "011"){
  563. var cur_height = 184;
  564. var max_height = 538;
  565. }else{
  566. var cur_height = 214;
  567. var max_height = 562;
  568. }
  569. if( bLarge == true ){
  570. cur_height = max_height ;
  571. btn_large.visible = false;
  572. btn_small.visible = true;
  573. }
  574. else {
  575. btn_large.visible = true;
  576. btn_small.visible = false;
  577. }
  578. grd_rsltlst.attribute("height") = parseInt( cur_height ) ;
  579. }
  580. function fdataValueAsso(vTestcd,vSubcd){
  581. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
  582. for (var i=0; i<nodeCount;i++){
  583. //if ((model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+i +"]/rsltcd")==vSubcd)){
  584. if ((model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/testcd")==vTestcd) && (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i +"]/rsltcd")==vSubcd)){
  585. nodenumber = i;
  586. return model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
  587. }
  588. }
  589. }
  590. // 특정값에 따라 Disabled 여부 결정
  591. function fDisabledChk() {
  592. /*
  593. rdo_colonreadcmt1.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1");
  594. rdo_colonreadcmt2.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2");
  595. rdo_colonreadcmt3.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3");
  596. */
  597. var colonreadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc");
  598. var bol = isSearchString(colonreadcmtetc ,"10");
  599. if (bol == true) {
  600. ipt_colonreadcmtetcrem.disabled = false;
  601. } else {
  602. ipt_colonreadcmtetcrem.disabled = true;
  603. }
  604. /*
  605. rdo_liescopereadcmt1.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1");
  606. rdo_liescopereadcmt2.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2");
  607. rdo_liescopereadcmt3.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3");
  608. */
  609. var liescopereadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc");
  610. var bol = isSearchString(liescopereadcmtetc ,"10");
  611. if (bol == true) {
  612. ipt_liescopereadcmtetcrem.disabled = false;
  613. } else {
  614. ipt_liescopereadcmtetcrem.disabled = true;
  615. }
  616. var tissdiagcncr = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr");
  617. var bol = isSearchString(tissdiagcncr ,"11");
  618. if (bol == true) {
  619. ipt_tissdiagcncrrem.disabled = false;
  620. } else {
  621. ipt_tissdiagcncrrem.disabled = true;
  622. }
  623. var tissdiagetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc");
  624. var bol = isSearchString(tissdiagetc ,"05");
  625. if (bol == true) {
  626. ipt_tissdiagetcrem.disabled = false;
  627. } else {
  628. ipt_tissdiagetcrem.disabled = true;
  629. }
  630. rdo_judgcolonflag.value = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
  631. rdo_liescopereadcmt1.dispatch("xforms-value-changed");
  632. rdo_colonreadcmt1.dispatch("xforms-value-changed");
  633. }
  634. /**************************************************************************************************************************
  635. @ desc : 대장암 일괄적용 초기화
  636. ***************************************************************************************************************************/
  637. function fInitBatchLicncr() {
  638. rdo_batchjudgcolonflag.select(0);
  639. }
  640. /*사업장코드가 011(여의도성모)일 경우 크기 조정필요*/
  641. function fCtrlSize(){
  642. if(getUserInfo("dutplceinstcd") == "011"){
  643. btn_fstjudg.attribute("top") = 189 + "px";
  644. btn_secondjudg.attribute("top") = 189 + "px";
  645. btn_lifejudg.attribute("top") = 189 + "px";
  646. button4.attribute("top") = 189 + "px";
  647. btn_batjudgview.attribute("top") = 190 + "px";
  648. button2.attribute("top") = 190 + "px";
  649. btn_judg.attribute("top") = 190 + "px";
  650. swt_judg.attribute("top") = 210 + "px";
  651. grp_batjudg.attribute("top") = 120 + "px";
  652. grd_rsltlst.attribute("height") = 184 + "px";
  653. }else{
  654. btn_fstjudg.attribute("top") = 219 + "px";
  655. btn_secondjudg.attribute("top") = 219 + "px";
  656. btn_lifejudg.attribute("top") = 219 + "px";
  657. button4.attribute("top") = 219 + "px";
  658. btn_batjudgview.attribute("top") = 220 + "px";
  659. button2.attribute("top") = 220 + "px";
  660. btn_judg.attribute("top") = 220 + "px";
  661. swt_judg.attribute("top") = 240 + "px";
  662. grp_batjudg.attribute("top") = 150 + "px";
  663. grd_rsltlst.attribute("height") = 214 + "px";
  664. }
  665. }
  666. function fSetGridInitState(vGrdObj){
  667. if(vGrdObj == null ) return ;
  668. vGrdObj.rebuildStyle();
  669. vGrdObj.refresh();
  670. var cnt = vGrdObj.rows;
  671. for( var i = 1 ; i <= cnt ; i++){
  672. var testrslt = vGrdObj.valueMatrix(i, vGrdObj.colRef("testrsltcnts"));
  673. var low = vGrdObj.valueMatrix(i, vGrdObj.colRef("minval"));
  674. var high = vGrdObj.valueMatrix(i, vGrdObj.colRef("maxval"));
  675. // 기준치에 따른 색깔변경
  676. if("H" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
  677. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ff7a85";
  678. }
  679. if("L" == vGrdObj.valueMatrix( i , vGrdObj.colRef("judgrsltcnts") ) ) {
  680. vGrdObj.cellStyle("background-color" , i , vGrdObj.colRef("judgrsltcnts") , i , vGrdObj.colRef("judgrsltcnts")) = "#ccffcc";
  681. }
  682. //결과값이 하한가와 상한가 범위를 벗어난 경우 색으로 구분(녹색:하한가보다 작은 경우, 분홍색:상한가보다 큰 경우)
  683. if(testrslt != ""){
  684. if(!isNaN(testrslt)){
  685. if(low != ""){
  686. if(eval(testrslt) < eval(low)){
  687. vGrdObj.cellStyle("background-color", i, 7) = "#ccffcc";
  688. }
  689. }
  690. if(high != ""){
  691. if(eval(testrslt) > eval(high)){
  692. vGrdObj.cellStyle("background-color", i, 7) = "#ff7a85";
  693. }
  694. }
  695. }
  696. }else{
  697. continue;
  698. }
  699. }
  700. vGrdObj.refresh();
  701. }
  702. ]]>
  703. </script>
  704. </xhtml:head>
  705. <xhtml:body>
  706. <group id="grp_rslt2" visibility="hidden" style="left:465px; top:50px; width:295px; height:245px; ">
  707. <caption id="caption1" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">선택형결과입력</caption>
  708. <datagrid id="datagrid1" nodeset="/root/main/tempinfo/choilst/item4" allowselection="false" caption="V^코드^결과내용" colsep="^" colwidth="24, 35, 200" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:285px; height:215px; ">
  709. <col checkvalue="Y,N" ref="sel" type="checkbox" visibility="hidden"/>
  710. <col ref="rsltcd" visibility="visible"/>
  711. <col ref="rsltnm"/>
  712. </datagrid>
  713. <line id="line1" class="line_1" style="x1:5px; y1:20px; x2:290px; y2:20px; "/>
  714. <button id="button1" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  715. <caption/>
  716. <script type="javascript" ev:event="DOMActivate">
  717. <![CDATA[
  718. //fAddRsltChoi();
  719. grp_rslt2.visible = false;
  720. ]]>
  721. </script>
  722. </button>
  723. </group>
  724. <button id="btn_secondjudg" class="btn_sw" group="tab" style="left:160px; top:189px; width:90px; height:22px; ">
  725. <caption>대장내시경</caption>
  726. <toggle case="case_second" ev:event="onclick"/>
  727. </button>
  728. <group id="grp_textrslt" visibility="hidden" style="left:365px; top:25px; width:295px; height:300px; ">
  729. <caption id="caption58" class="tit_2" style="left:5px; top:10px; width:108px; height:13px; ">서술형결과입력</caption>
  730. <line id="line37" class="line_1" style="x1:5px; y1:25px; x2:290px; y2:25px; "/>
  731. <button id="btn_textclose" class="icon_plus" style="left:275px; top:4px; width:13px; height:15px; ">
  732. <caption/>
  733. <script type="javascript" ev:event="DOMActivate">
  734. <![CDATA[
  735. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javaScript.col_rslt ) {
  736. model.setValue("/root/main/acptinfo/rsltlst/item["+ model.getValue("/root/main/tempinfo/rslttext/rslt_idx") +"]/testrsltcnts", tar_textrslt.currentText );
  737. }
  738. grp_textrslt.visible = false;
  739. ]]>
  740. </script>
  741. </button>
  742. <textarea id="tar_textrslt" ref="/root/main/tempinfo/rslttext/rsltcnts" style="left:5px; top:30px; width:285px; height:265px; "/>
  743. <script type="javascript" ev:event="DOMFocusOut">
  744. <![CDATA[
  745. // grp_textrslt.visible = false;
  746. ]]>
  747. </script>
  748. <output id="opt_rsltidx" ref="/root/main/tempinfo/rslttext/rslt_idx" class="output_fix" visibility="hidden" style="left:130px; top:5px; width:36px; height:19px; "/>
  749. <output id="opt_rsltcol" ref="/root/main/tempinfo/rslttext/rslt_col" class="output_fix" visibility="hidden" style="left:175px; top:5px; width:36px; height:19px; "/>
  750. <button id="btn_rsltclose" class="btn2_letter2" style="left:246px; top:4px; width:42px; height:19px; ">
  751. <caption>취소</caption>
  752. <script type="javascript" ev:event="DOMActivate">
  753. <![CDATA[
  754. grp_textrslt.visible = false;
  755. ]]>
  756. </script>
  757. </button>
  758. <button id="btn_rsltsave" class="btn2_letter2" style="left:201px; top:4px; width:42px; height:19px; ">
  759. <caption>저장</caption>
  760. <script type="javascript" ev:event="DOMActivate">
  761. <![CDATA[
  762. if( model.getValue("/root/main/tempinfo/rslttext/rslt_col") == window.parent.javascript.col_rslt ) {
  763. var idx = model.getValue("/root/main/tempinfo/rslttext/rslt_idx");
  764. if( idx < 0) return ;
  765. model.setValue("/root/main/acptinfo/rsltlst/item["+ idx +"]/testrsltcnts", tar_textrslt.currentText );
  766. if( grd_rsltlst.rowStatus(idx) == 0 ) {
  767. grd_rsltlst.rowStatus(idx) = 2;
  768. }
  769. }
  770. grp_textrslt.visible = false;
  771. ]]>
  772. </script>
  773. </button>
  774. </group>
  775. <switch id="swt_judg" style="left:5px; top:210px; width:764px; height:323px; border-color:#c7a3cf; border-style:solid; ">
  776. <case id="case_first" selected="true">
  777. <line id="line7" class="line_2" style="x1:5px; y1:30px; x2:755px; y2:30px; "/>
  778. <line id="line5" class="line_1" style="x1:5px; y1:1px; x2:755px; y2:1px; "/>
  779. <caption id="caption22" class="cell_1" style="left:587px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">기준치</caption>
  780. <caption id="caption17" class="cell_1" style="left:160px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
  781. <caption id="caption3" class="cell_2" style="left:5px; top:32px; width:60px; height:261px; text-align:center; vertical-align:middle; ">
  782. <![CDATA[결장
  783. 이중조영]]>
  784. </caption>
  785. <caption id="caption4" class="cell_2" style="left:5px; top:6px; width:152px; height:23px; text-align:center; vertical-align:middle; ">분별잠혈 반응검사</caption>
  786. <caption id="caption5" class="cell_1" style="left:67px; top:33px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견1</caption>
  787. <caption id="caption6" class="cell_1" style="left:67px; top:59px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  788. <caption id="caption7" class="cell_1" style="left:67px; top:107px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견2</caption>
  789. <caption id="caption8" class="cell_1" style="left:67px; top:133px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  790. <caption id="caption9" class="cell_1" style="left:67px; top:181px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견3</caption>
  791. <caption id="caption10" class="cell_1" style="left:67px; top:207px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  792. <caption id="caption12" class="cell_1" style="left:67px; top:255px; width:90px; height:38px; text-align:center; vertical-align:middle; ">판독소견 기타</caption>
  793. <line id="line9" class="line_2" style="x1:67px; y1:56px; x2:755px; y2:56px; "/>
  794. <line id="line10" class="line_2" style="x1:67px; y1:104px; x2:755px; y2:104px; "/>
  795. <line id="line11" class="line_2" style="x1:67px; y1:130px; x2:755px; y2:130px; "/>
  796. <line id="line12" class="line_2" style="x1:67px; y1:178px; x2:755px; y2:178px; "/>
  797. <line id="line13" class="line_2" style="x1:67px; y1:204px; x2:755px; y2:204px; "/>
  798. <line id="line14" class="line_2" style="x1:67px; y1:252px; x2:755px; y2:252px; "/>
  799. <caption id="caption11" class="cell_2" style="left:5px; top:296px; width:152px; height:23px; text-align:center; vertical-align:middle; ">대장내시경 검사여부</caption>
  800. <line id="line15" class="line_2" style="x1:5px; y1:293px; x2:755px; y2:293px; "/>
  801. <caption id="caption13" class="cell_1" style="left:325px; top:6px; width:75px; height:23px; text-align:center; vertical-align:middle; ">결과</caption>
  802. <select1 id="cmb_reactexammthd" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexammthd" appearance="minimal" style="left:237px; top:9px; width:80px; height:19px; ">
  803. <choices>
  804. <itemset nodeset="/root/init/judginfo/reactexammthdlst/G029">
  805. <label ref="cdnm"/>
  806. <value ref="cdid"/>
  807. </itemset>
  808. </choices>
  809. </select1>
  810. <select1 id="cmb_reactexamrslt" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrslt" appearance="minimal" style="left:403px; top:9px; width:80px; height:19px; ">
  811. <choices>
  812. <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
  813. <label ref="cdnm"/>
  814. <value ref="cdid"/>
  815. </itemset>
  816. </choices>
  817. </select1>
  818. <input id="input1" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrsltval" style="left:485px; top:9px; width:50px; height:19px; text-align:right; "/>
  819. <caption id="caption14" style="left:540px; top:9px; width:35px; height:19px; ">Ng/ml</caption>
  820. <caption id="caption15" style="left:720px; top:9px; width:35px; height:19px; ">Ng/ml</caption>
  821. <input id="input2" ref="/root/main/acptinfo/judginfo/licncrjudg/reactexamrsltbval" style="left:665px; top:9px; width:50px; height:19px; text-align:right; "/>
  822. <select1 id="rdo_colonreadcmt1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:35px; width:425px; height:20px; border-style:none; ">
  823. <choices>
  824. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  825. <label ref="cdnm"/>
  826. <value ref="cdid"/>
  827. </itemset>
  828. </choices>
  829. <script type="javascript" ev:event="xforms-value-changed">
  830. <![CDATA[
  831. var colonreadcmt1 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt1");
  832. var bol = isSearchString(colonreadcmt1 ,"2");
  833. if (bol == true) {
  834. ipt_colonreadcmtpolyp1.disabled = false;
  835. } else {
  836. ipt_colonreadcmtpolyp1.disabled = true;
  837. ipt_colonreadcmtpolyp1.value = "";
  838. ipt_colonreadcmtpolyp1.refresh();
  839. }
  840. ]]>
  841. </script>
  842. </select1>
  843. <caption id="caption16" style="left:720px; top:35px; width:25px; height:19px; ">mm</caption>
  844. <input id="ipt_colonreadcmtpolyp1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp1" disabled="true" style="left:665px; top:35px; width:50px; height:19px; text-align:right; "/>
  845. <caption id="caption18" style="left:720px; top:109px; width:25px; height:19px; ">mm</caption>
  846. <input id="ipt_colonreadcmtpolyp2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp2" disabled="true" style="left:665px; top:109px; width:50px; height:19px; text-align:right; "/>
  847. <caption id="caption19" style="left:720px; top:183px; width:25px; height:19px; ">mm</caption>
  848. <input id="ipt_colonreadcmtpolyp3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtpolyp3" disabled="true" style="left:665px; top:183px; width:50px; height:19px; text-align:right; "/>
  849. <select id="chk_colonsickpos1" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos1" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:59px; width:590px; height:45px; border-style:none; ">
  850. <choices>
  851. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  852. <label ref="cdnm"/>
  853. <value ref="cdid"/>
  854. </itemset>
  855. </choices>
  856. </select>
  857. <select1 id="rdo_colonreadcmt2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:109px; width:425px; height:20px; border-style:none; ">
  858. <choices>
  859. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  860. <label ref="cdnm"/>
  861. <value ref="cdid"/>
  862. </itemset>
  863. </choices>
  864. <script type="javascript" ev:event="xforms-value-changed">
  865. <![CDATA[
  866. /*
  867. var colonreadcmt2 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt2");
  868. if (colonreadcmt2 == "02") {
  869. ipt_colonreadcmtpolyp2.disabled = false;
  870. } else {
  871. ipt_colonreadcmtpolyp2.disabled = true;
  872. } */
  873. ]]>
  874. </script>
  875. </select1>
  876. <select id="chk_colonsickpos2" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos2" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:133px; width:590px; height:45px; border-style:none; ">
  877. <choices>
  878. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  879. <label ref="cdnm"/>
  880. <value ref="cdid"/>
  881. </itemset>
  882. </choices>
  883. </select>
  884. <select1 id="rdo_colonreadcmt3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3" appearance="full" cellspacing="15" cols="5" overflow="visible" style="left:160px; top:183px; width:425px; height:20px; border-style:none; ">
  885. <choices>
  886. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  887. <label ref="cdnm"/>
  888. <value ref="cdid"/>
  889. </itemset>
  890. </choices>
  891. <script type="javascript" ev:event="xforms-value-changed">
  892. <![CDATA[
  893. /*
  894. var colonreadcmt3 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmt3");
  895. if (colonreadcmt3 == "02") {
  896. ipt_colonreadcmtpolyp3.disabled = false;
  897. } else {
  898. ipt_colonreadcmtpolyp3.disabled = true;
  899. }*/
  900. ]]>
  901. </script>
  902. </select1>
  903. <select id="chk_colonsickpos3" ref="/root/main/acptinfo/judginfo/licncrjudg/colonsickpos3" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:207px; width:590px; height:45px; border-style:none; ">
  904. <choices>
  905. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  906. <label ref="cdnm"/>
  907. <value ref="cdid"/>
  908. </itemset>
  909. </choices>
  910. </select>
  911. <select id="chk_colonreadcmtetc" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc" overflow="visible" appearance="full" cols="6" style="left:160px; top:258px; width:590px; height:35px; border-style:none; ">
  912. <choices>
  913. <itemset nodeset="/root/init/judginfo/colonreadcmtetclst/G034">
  914. <label ref="cdnm"/>
  915. <value ref="cdid"/>
  916. </itemset>
  917. </choices>
  918. <script type="javascript" ev:event="xforms-value-changed">
  919. <![CDATA[
  920. var colonreadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetc");
  921. var bol = isSearchString(colonreadcmtetc ,"10");
  922. if (bol == true) {
  923. ipt_colonreadcmtetcrem.disabled = false;
  924. } else {
  925. ipt_colonreadcmtetcrem.disabled = true;
  926. }
  927. ]]>
  928. </script>
  929. </select>
  930. <select1 id="radio2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopetestyn" appearance="full" cellspacing="15" cols="2" overflow="visible" style="left:160px; top:299px; width:500px; height:20px; border-style:none; ">
  931. <choices>
  932. <itemset nodeset="/root/init/judginfo/liescopetestynlst/G035">
  933. <label ref="cdnm"/>
  934. <value ref="cdid"/>
  935. </itemset>
  936. </choices>
  937. </select1>
  938. <input id="ipt_colonreadcmtetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/colonreadcmtetcrem" style="left:500px; top:275px; width:255px; height:19px; "/>
  939. <caption id="caption44" style="left:600px; top:35px; width:64px; height:19px; ">※대장용종</caption>
  940. <caption id="caption45" style="left:600px; top:109px; width:64px; height:19px; ">※대장용종</caption>
  941. <caption id="caption46" style="left:600px; top:183px; width:64px; height:19px; ">※대장용종</caption>
  942. </case>
  943. <case id="case_second">
  944. <line id="line26" class="line_1" style="x1:5px; y1:1px; x2:757px; y2:1px; "/>
  945. <line id="line2" class="line_2" style="x1:67px; y1:29px; x2:755px; y2:29px; "/>
  946. <line id="line4" class="line_2" style="x1:67px; y1:103px; x2:755px; y2:103px; "/>
  947. <line id="line6" class="line_2" style="x1:67px; y1:151px; x2:755px; y2:151px; "/>
  948. <line id="line16" class="line_2" style="x1:67px; y1:177px; x2:755px; y2:177px; "/>
  949. <caption id="caption2" class="cell_1" style="left:67px; top:180px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  950. <caption id="caption20" class="cell_2" style="left:5px; top:276px; width:152px; height:23px; text-align:center; vertical-align:middle; ">조직검사 필요여부</caption>
  951. <line id="line17" class="line_2" style="x1:67px; y1:180px; x2:755px; y2:180px; "/>
  952. <line id="line18" class="line_2" style="x1:5px; y1:273px; x2:755px; y2:273px; "/>
  953. <caption id="caption21" class="cell_1" style="left:67px; top:228px; width:90px; height:45px; text-align:center; vertical-align:middle; ">판독소견 기타</caption>
  954. <caption id="caption23" class="cell_2" style="left:5px; top:6px; width:60px; height:267px; text-align:center; vertical-align:middle; ">
  955. <![CDATA[대장
  956. 내시경]]>
  957. </caption>
  958. <select1 id="rdo_liescopereadcmt1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:9px; width:340px; height:20px; border-style:none; ">
  959. <choices>
  960. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  961. <label ref="cdnm"/>
  962. <value ref="cdid"/>
  963. </itemset>
  964. </choices>
  965. <script type="javascript" ev:event="xforms-value-changed">
  966. <![CDATA[
  967. var liescopereadcmt1 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt1");
  968. var bol = isSearchString(liescopereadcmt1 ,"2");
  969. if (bol == true) {
  970. ipt_liescopereadcmtpolyp1.disabled = false;
  971. cmb_liescopereadcmtexcision1.disabled = false;
  972. } else {
  973. ipt_liescopereadcmtpolyp1.disabled = true;
  974. ipt_liescopereadcmtpolyp1.value = "";
  975. cmb_liescopereadcmtexcision1.disabled = true;
  976. cmb_liescopereadcmtexcision1.value = "";
  977. ipt_liescopereadcmtpolyp1.refresh();
  978. cmb_liescopereadcmtexcision1.refresh();
  979. }
  980. ]]>
  981. </script>
  982. </select1>
  983. <input id="ipt_liescopereadcmtpolyp1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp1" disabled="true" style="left:570px; top:8px; width:35px; height:19px; "/>
  984. <select1 id="cmb_liescopereadcmtexcision1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision1" disabled="true" appearance="minimal" style="left:685px; top:8px; width:65px; height:19px; ">
  985. <choices>
  986. <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
  987. <label ref="cdnm"/>
  988. <value ref="cdid"/>
  989. </itemset>
  990. </choices>
  991. </select1>
  992. <select id="chk_liescopesickpos1" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos1" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:34px; width:590px; height:43px; border-style:none; ">
  993. <choices>
  994. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  995. <label ref="cdnm"/>
  996. <value ref="cdid"/>
  997. </itemset>
  998. </choices>
  999. </select>
  1000. <caption id="caption24" class="cell_1" style="left:67px; top:6px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견1</caption>
  1001. <select1 id="rdo_tissexamyn" ref="/root/main/acptinfo/judginfo/licncrjudg/tissexamyn" appearance="full" cellspacing="15" cols="3" overflow="visible" style="left:160px; top:280px; width:500px; height:20px; border-style:none; ">
  1002. <choices>
  1003. <itemset nodeset="/root/init/judginfo/liescopetestynlst/G035">
  1004. <label ref="cdnm"/>
  1005. <value ref="cdid"/>
  1006. </itemset>
  1007. </choices>
  1008. </select1>
  1009. <caption id="caption25" class="cell_1" style="left:67px; top:32px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  1010. <caption id="caption26" style="left:607px; top:8px; width:76px; height:19px; ">mm, 절제처치</caption>
  1011. <caption id="caption27" class="cell_1" style="left:67px; top:80px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견2</caption>
  1012. <caption id="caption28" class="cell_1" style="left:67px; top:106px; width:90px; height:45px; text-align:center; vertical-align:middle; ">병변위치</caption>
  1013. <caption id="caption30" class="cell_1" style="left:67px; top:154px; width:90px; height:23px; text-align:center; vertical-align:middle; ">판독소견3</caption>
  1014. <line id="line20" class="line_3" style="x1:5px; y1:300px; x2:755px; y2:300px; "/>
  1015. <select1 id="rdo_liescopereadcmt2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:83px; width:340px; height:20px; border-style:none; ">
  1016. <choices>
  1017. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  1018. <label ref="cdnm"/>
  1019. <value ref="cdid"/>
  1020. </itemset>
  1021. </choices>
  1022. <script type="javascript" ev:event="xforms-value-changed">
  1023. <![CDATA[
  1024. var liescopereadcmt2 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt2");
  1025. if(liescopereadcmt2.length < 2){
  1026. liescopereadcmt2 = "0" + liescopereadcmt2;
  1027. }
  1028. if (liescopereadcmt2 == "02") {
  1029. ipt_liescopereadcmtpolyp2.disabled = false;
  1030. cmb_liescopereadcmtexcision2.disabled = false;
  1031. } else {
  1032. ipt_liescopereadcmtpolyp2.disabled = true;
  1033. cmb_liescopereadcmtexcision2.disabled = true;
  1034. }
  1035. ]]>
  1036. </script>
  1037. </select1>
  1038. <caption id="caption29" style="left:607px; top:82px; width:76px; height:19px; ">mm, 절제처치</caption>
  1039. <select1 id="cmb_liescopereadcmtexcision2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision2" disabled="true" appearance="minimal" style="left:685px; top:82px; width:65px; height:19px; ">
  1040. <choices>
  1041. <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
  1042. <label ref="cdnm"/>
  1043. <value ref="cdid"/>
  1044. </itemset>
  1045. </choices>
  1046. </select1>
  1047. <select id="chk_liescopesickpos2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos2" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:108px; width:590px; height:43px; border-style:none; ">
  1048. <choices>
  1049. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  1050. <label ref="cdnm"/>
  1051. <value ref="cdid"/>
  1052. </itemset>
  1053. </choices>
  1054. </select>
  1055. <select1 id="rdo_liescopereadcmt3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3" appearance="full" cellspacing="10" cols="5" overflow="visible" style="left:160px; top:157px; width:340px; height:20px; border-style:none; ">
  1056. <choices>
  1057. <itemset nodeset="/root/init/judginfo/colonreadcmtlst/G031">
  1058. <label ref="cdnm"/>
  1059. <value ref="cdid"/>
  1060. </itemset>
  1061. </choices>
  1062. <script type="javascript" ev:event="xforms-value-changed">
  1063. <![CDATA[
  1064. var liescopereadcmt3 = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmt3");
  1065. if(liescopereadcmt3.length < 2){
  1066. liescopereadcmt3 = "0" + liescopereadcmt3;
  1067. }
  1068. if (liescopereadcmt3 == "02") {
  1069. ipt_liescopereadcmtpolyp3.disabled = false;
  1070. cmb_liescopereadcmtexcision3.disabled = false;
  1071. } else {
  1072. ipt_liescopereadcmtpolyp3.disabled = true;
  1073. cmb_liescopereadcmtexcision3.disabled = true;
  1074. }
  1075. ]]>
  1076. </script>
  1077. </select1>
  1078. <input id="ipt_liescopereadcmtpolyp3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp3" disabled="true" style="left:570px; top:156px; width:35px; height:19px; "/>
  1079. <caption id="caption31" style="left:607px; top:156px; width:76px; height:19px; ">mm, 절제처치</caption>
  1080. <select1 id="cmb_liescopereadcmtexcision3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtexcision3" disabled="true" appearance="minimal" style="left:685px; top:156px; width:65px; height:19px; ">
  1081. <choices>
  1082. <itemset nodeset="/root/init/judginfo/liescopereadcmtexcisionlst/G036">
  1083. <label ref="cdnm"/>
  1084. <value ref="cdid"/>
  1085. </itemset>
  1086. </choices>
  1087. </select1>
  1088. <select id="chk_liescopesickpos3" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopesickpos3" overflow="visible" appearance="full" cellspacing="15" cols="6" vcellspacing="5" style="left:160px; top:182px; width:590px; height:43px; border-style:none; ">
  1089. <choices>
  1090. <itemset nodeset="/root/init/judginfo/colonsickposlst/G032">
  1091. <label ref="cdnm"/>
  1092. <value ref="cdid"/>
  1093. </itemset>
  1094. </choices>
  1095. </select>
  1096. <select id="chk_liescopereadcmtetc" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc" overflow="visible" appearance="full" cols="5" vcellspacing="5" style="left:160px; top:230px; width:590px; height:43px; border-style:none; ">
  1097. <choices>
  1098. <itemset nodeset="/root/init/judginfo/colonreadcmtetclst/G034">
  1099. <label ref="cdnm"/>
  1100. <value ref="cdid"/>
  1101. </itemset>
  1102. </choices>
  1103. <script type="javascript" ev:event="xforms-value-changed">
  1104. <![CDATA[
  1105. var liescopereadcmtetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetc");
  1106. var bol = isSearchString(liescopereadcmtetc ,"10");
  1107. if (bol == true) {
  1108. ipt_liescopereadcmtetcrem.disabled = false;
  1109. } else {
  1110. ipt_liescopereadcmtetcrem.disabled = true;
  1111. }
  1112. ]]>
  1113. </script>
  1114. </select>
  1115. <input id="ipt_liescopereadcmtpolyp2" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtpolyp2" disabled="true" style="left:570px; top:82px; width:35px; height:19px; "/>
  1116. <line id="line29" class="line_2" style="x1:67px; y1:77px; x2:755px; y2:77px; "/>
  1117. <input id="ipt_liescopereadcmtetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/liescopereadcmtetcrem" style="left:595px; top:254px; width:155px; height:19px; "/>
  1118. <caption id="caption35" style="left:505px; top:8px; width:64px; height:19px; ">※대장용종</caption>
  1119. <caption id="caption42" style="left:505px; top:82px; width:64px; height:19px; ">※대장용종</caption>
  1120. <caption id="caption43" style="left:505px; top:156px; width:64px; height:19px; ">※대장용종</caption>
  1121. </case>
  1122. <case id="case_lifejudg">
  1123. <line id="line8" class="line_1" style="x1:5px; y1:1px; x2:757px; y2:1px; "/>
  1124. <caption id="caption32" class="cell_1" style="left:5px; top:6px; width:152px; height:23px; text-align:center; vertical-align:middle; ">병리조직검사갯수</caption>
  1125. <select1 id="cmb_tissdiagpathotissexamcnt" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagpathotissexamcnt" appearance="minimal" style="left:160px; top:8px; width:157px; height:19px; ">
  1126. <choices>
  1127. <itemset nodeset="/root/init/judginfo/tissdiagpathotissexamcntlst/G037">
  1128. <label ref="cdnm"/>
  1129. <value ref="cdid"/>
  1130. </itemset>
  1131. </choices>
  1132. </select1>
  1133. <line id="line21" class="line_2" style="x1:5px; y1:29px; x2:755px; y2:29px; "/>
  1134. <caption id="caption34" class="cell_1" style="left:5px; top:32px; width:152px; height:45px; text-align:center; vertical-align:middle; ">관찰소견</caption>
  1135. <select1 id="radio8" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagobscmt" appearance="full" cellspacing="15" cols="4" vcellspacing="5" overflow="visible" style="left:160px; top:32px; width:595px; height:45px; border-style:none; ">
  1136. <choices>
  1137. <itemset nodeset="/root/init/judginfo/tissdiagobscmtlst/G038">
  1138. <label ref="cdnm"/>
  1139. <value ref="cdid"/>
  1140. </itemset>
  1141. </choices>
  1142. </select1>
  1143. <line id="line22" class="line_2" style="x1:5px; y1:77px; x2:755px; y2:77px; "/>
  1144. <line id="line23" class="line_3" style="x1:5px; y1:196px; x2:755px; y2:196px; "/>
  1145. <caption id="caption33" class="cell_1" style="left:5px; top:150px; width:152px; height:45px; text-align:center; vertical-align:middle; ">기타</caption>
  1146. <line id="line24" class="line_2" style="x1:5px; y1:147px; x2:755px; y2:147px; "/>
  1147. <select id="chk_tissdiagcncr" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr" overflow="visible" appearance="full" cellspacing="15" cols="5" vcellspacing="5" style="left:160px; top:82px; width:595px; height:65px; border-style:none; ">
  1148. <choices>
  1149. <itemset nodeset="/root/init/judginfo/tissdiagcncrlst/G039">
  1150. <label ref="cdnm"/>
  1151. <value ref="cdid"/>
  1152. </itemset>
  1153. </choices>
  1154. <script type="javascript" ev:event="xforms-value-changed">
  1155. <![CDATA[
  1156. var tissdiagcncr = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncr");
  1157. var bol = isSearchString(tissdiagcncr ,"11");
  1158. if (bol == true) {
  1159. ipt_tissdiagcncrrem.disabled = false;
  1160. } else {
  1161. ipt_tissdiagcncrrem.disabled = true;
  1162. }
  1163. ]]>
  1164. </script>
  1165. </select>
  1166. <select id="chk_tissdiagetc" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc" overflow="visible" appearance="full" cellspacing="15" cols="4" vcellspacing="5" style="left:160px; top:152px; width:595px; height:43px; border-style:none; ">
  1167. <choices>
  1168. <itemset nodeset="/root/init/judginfo/tissdiagetclst/G040">
  1169. <label ref="cdnm"/>
  1170. <value ref="cdid"/>
  1171. </itemset>
  1172. </choices>
  1173. <script type="javascript" ev:event="xforms-value-changed">
  1174. <![CDATA[
  1175. var tissdiagetc = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/tissdiagetc");
  1176. if(tissdiagetc.length < 2){
  1177. tissdiagetc = "0" + tissdiagetc;
  1178. }
  1179. var bol = isSearchString(tissdiagetc ,"05");
  1180. if (bol == true) {
  1181. ipt_tissdiagetcrem.disabled = false;
  1182. } else {
  1183. ipt_tissdiagetcrem.disabled = true;
  1184. }
  1185. ]]>
  1186. </script>
  1187. </select>
  1188. <caption id="caption41" class="cell_1" style="left:5px; top:80px; width:152px; height:67px; text-align:center; vertical-align:middle; ">암</caption>
  1189. <input id="ipt_tissdiagcncrrem" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagcncrrem" style="left:255px; top:125px; width:495px; height:19px; "/>
  1190. <input id="ipt_tissdiagetcrem" ref="/root/main/acptinfo/judginfo/licncrjudg/tissdiagetcrem" style="left:255px; top:174px; width:495px; height:19px; "/>
  1191. </case>
  1192. <case id="case_oral">
  1193. <line id="line31" class="line_1" style="x1:5px; y1:1px; x2:755px; y2:1px; "/>
  1194. <caption id="caption36" class="cell_1" style="left:383px; top:6px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  1195. <caption id="caption37" class="cell_1" style="left:5px; top:6px; width:120px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  1196. <select1 id="cmb_scndjudgdrid" ref="/root/main/acptinfo/judginfo/licncrjudg/judgdrid" class="combo" appearance="minimal" style="left:505px; top:8px; width:123px; height:19px; ">
  1197. <choices>
  1198. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1199. <label ref="drnm"/>
  1200. <value ref="drid"/>
  1201. </itemset>
  1202. </choices>
  1203. </select1>
  1204. <input id="input9" ref="/root/main/acptinfo/judginfo/licncrjudg/judgdd" class="input_essential" disabled="true" inputtype="date" style="left:127px; top:8px; width:110px; height:19px; "/>
  1205. <line id="line25" class="line_2" style="x1:5px; y1:29px; x2:755px; y2:29px; "/>
  1206. <select1 id="rdo_judgcolonflag" ref="/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag" appearance="full" cellspacing="20" cols="4" vcellspacing="5" overflow="visible" style="left:127px; top:32px; width:628px; height:45px; border-style:none; ">
  1207. <choices>
  1208. <itemset nodeset="/root/init/judginfo/judgcolonflaglst/G041">
  1209. <label ref="cdnm"/>
  1210. <value ref="cdid"/>
  1211. </itemset>
  1212. </choices>
  1213. <script type="javascript" ev:event="xforms-value-changed">
  1214. <![CDATA[
  1215. var judgcolonflag = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
  1216. if (judgcolonflag == "05" || judgcolonflag == "5") {
  1217. ipt_judgcolonflagrem.disabled = false;
  1218. } else {
  1219. ipt_judgcolonflagrem.disabled = true;
  1220. }
  1221. ]]>
  1222. </script>
  1223. </select1>
  1224. <select1 id="rdo_judgreactflag" ref="/root/main/acptinfo/judginfo/licncrjudg/judgreactflag" appearance="full" cellspacing="20" cols="2" overflow="visible" style="left:127px; top:80px; width:500px; height:20px; border-style:none; ">
  1225. <choices>
  1226. <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
  1227. <label ref="cdnm"/>
  1228. <value ref="cdid"/>
  1229. </itemset>
  1230. </choices>
  1231. </select1>
  1232. <line id="line27" class="line_2" style="x1:5px; y1:122px; x2:755px; y2:122px; "/>
  1233. <caption id="caption38" class="cell_1" style="left:5px; top:32px; width:120px; height:90px; text-align:center; vertical-align:middle; ">판정구분</caption>
  1234. <bool id="bol_oldlicncrpatyn" checkvalue="Y,N" ref="/root/main/acptinfo/judginfo/licncrjudg/oldlicncrpatyn" style="left:127px; top:103px; width:15px; height:15px; border-style:none; "/>
  1235. <caption id="caption39" style="left:145px; top:102px; width:130px; height:20px; ">기존 대장암암환자여부</caption>
  1236. <caption id="caption40" class="cell_1" style="left:5px; top:125px; width:120px; height:55px; text-align:center; vertical-align:middle; ">권고사항</caption>
  1237. <line id="line28" class="line_2" style="x1:5px; y1:180px; x2:755px; y2:180px; "/>
  1238. <textarea id="textarea1" ref="/root/main/acptinfo/judginfo/licncrjudg/judgexamcnts" style="left:127px; top:128px; width:628px; height:48px; "/>
  1239. <input id="ipt_judgcolonflagrem" ref="/root/main/acptinfo/judginfo/licncrjudg/judgcolonflagrem" disabled="true" style="left:190px; top:57px; width:565px; height:19px; "/>
  1240. <button id="btn_largejudge" class="btn2_letter4" style="left:30px; top:140px; width:64px; height:19px; ">
  1241. <caption>권고사항</caption>
  1242. <script type="javascript" ev:event="DOMActivate">
  1243. <![CDATA[
  1244. fGetJudgExmpCnts(textarea1,"G012");
  1245. ]]>
  1246. </script>
  1247. </button>
  1248. </case>
  1249. </switch>
  1250. <button id="btn_judg" class="btn5_letter4" style="left:705px; top:190px; width:64px; height:19px; ">
  1251. <caption>판정저장</caption>
  1252. <script type="javascript" ev:event="DOMActivate">
  1253. <![CDATA[
  1254. if ( messageBox("판정내역을 ", "Q002") == 6 ) {
  1255. fInitSaveData();
  1256. fSaveJudg("J");
  1257. }
  1258. ]]>
  1259. </script>
  1260. </button>
  1261. <button id="button2" class="btn5_letter4" style="left:640px; top:190px; width:64px; height:19px; ">
  1262. <caption>결과저장</caption>
  1263. <script type="javascript" ev:event="DOMActivate">
  1264. <![CDATA[
  1265. if ( messageBox("결과내역을 ", "Q002") == 6 ) {
  1266. fInitSaveData();
  1267. fSaveJudg("R");
  1268. //fSaveRsltInfo("J");
  1269. }
  1270. ]]>
  1271. </script>
  1272. </button>
  1273. <button id="btn_batjudgview" class="btn2_letter4" style="left:575px; top:190px; width:64px; height:19px; ">
  1274. <caption>일괄판정</caption>
  1275. <script type="javascript" ev:event="DOMActivate">
  1276. <![CDATA[
  1277. fInitBatchLicncr();
  1278. grp_batjudg.visible = true;
  1279. ]]>
  1280. </script>
  1281. </button>
  1282. <button id="btn_fstjudg" class="btn_sw" group="tab" selected="true" style="left:5px; top:189px; width:155px; height:22px; ">
  1283. <caption>분별잠혈및결장이중조영</caption>
  1284. <toggle case="case_first" ev:event="onclick"/>
  1285. </button>
  1286. <button id="button4" class="btn_sw" group="tab" style="left:340px; top:189px; width:90px; height:22px; ">
  1287. <caption>판정 및 권고</caption>
  1288. <toggle case="case_oral" ev:event="onclick"/>
  1289. </button>
  1290. <button id="btn_lifejudg" class="btn_sw" group="tab" style="left:250px; top:189px; width:90px; height:22px; ">
  1291. <caption>조직진단</caption>
  1292. <toggle case="case_lifejudg" ev:event="onclick"/>
  1293. </button>
  1294. <datagrid id="grd_rsltlst" nodeset="/root/main/acptinfo/rsltlst/item" allowselection="false" caption="처방일자^실시처방&#xA;유일번호^처방번호^검사코드^명칭^연계결과^결과^공단연계^단위^종류^비고^판정코드^판정값^LIS판정^Low^High" colsep="^" colwidth="70, 69, 63, 74, 105, 71, 136, 76, 58, 43, 67, 80, 65, 60, 42, 42" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" selectionmode="byrow" tooltip="true" style="left:5px; top:1px; width:764px; height:184px; ">
  1295. <col ref="prcpdd" visibility="hidden"/>
  1296. <col ref="execprcpuniqno" visibility="hidden"/>
  1297. <col ref="prcpno" visibility="hidden"/>
  1298. <col ref="testcd"/>
  1299. <col ref="testnm"/>
  1300. <col ref="outtestrsltcnts"/>
  1301. <col ref="testrsltcnts" type="input"/>
  1302. <col ref="assorsltcnts" type="input"/>
  1303. <col ref="rsltunit"/>
  1304. <col disabled="true" ref="rsltflag" type="combo">
  1305. <choices>
  1306. <itemset nodeset="/root/init/baseinfo/rslttypelst/A0066">
  1307. <label ref="cdnm"/>
  1308. <value ref="cdid"/>
  1309. </itemset>
  1310. </choices>
  1311. </col>
  1312. <col class="gridinput" ref="remcnts" type="input" visibility="hidden"/>
  1313. <col ref="judgcd" visibility="hidden"/>
  1314. <col ref="judgrsltcnts" visibility="visible"/>
  1315. <col ref="judgmark" visibility="hidden"/>
  1316. <col ref="minval"/>
  1317. <col ref="maxval"/>
  1318. <script type="javascript" ev:event="onendedit">
  1319. <![CDATA[
  1320. if(getUserInfo("dutplceinstcd") == "011"){
  1321. if (event.keyCode == 13 ){
  1322. grp_asso.visible = false;
  1323. if(grd_assorsltlst.rows != 1){
  1324. for(var i=grd_assorsltlst.rows; i>=grd_assorsltlst.fixedRows; i--){
  1325. grd_assorsltlst.deleteRow(i);
  1326. }
  1327. }
  1328. if (grd_rsltlst.col == window.parent.javascript.col_rslt ) {
  1329. //선택형검사결과의 결과컬럼
  1330. if ((grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O")||(grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="T")){
  1331. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  1332. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts"));
  1333. var cdata = fdataValue(vtestcd,vsubcd);
  1334. if (cdata!=null){
  1335. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata; //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts"));
  1336. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  1337. }
  1338. }
  1339. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="N"){
  1340. var maxval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("maxval")));
  1341. var minval = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("minval")));
  1342. var testrsltcnts = eval(grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testrsltcnts")));
  1343. if(maxval < testrsltcnts){
  1344. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "H";
  1345. } else
  1346. if(minval > testrsltcnts){
  1347. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "L";
  1348. } else {
  1349. grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("judgrsltcnts")) = "";
  1350. }
  1351. }
  1352. window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("testrsltcnts"));
  1353. window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("testrsltcnts"));
  1354. }
  1355. else if(grd_rsltlst.col == window.parent.javaScript.col_assorslt ) {
  1356. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O"){
  1357. //선택형검사결과의 공단결과
  1358. var vtestcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("testcd"));
  1359. var vsubcd = grd_rsltlst.valueMatrix(grd_rsltlst.row , grd_rsltlst.colRef("assorsltcnts"));
  1360. var cdata = fdataValueAsso(vtestcd,vsubcd);
  1361. if(cdata!=null){
  1362. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcd");
  1363. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("judgrsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso["+nodenumber+"]/judgexmpcnts");
  1364. //grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testrsltcnts")) = cdata;
  1365. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = cdata;
  1366. }
  1367. }
  1368. // window.parent.javascript.fSetAssoRslt(grd_rsltlst.labelMatrix(grd_rsltlst.row, window.parent.javaScript.col_assorslt ) );
  1369. /*검사결과 자동계산*/
  1370. window.parent.javascript.fCalcRslt(grd_rsltlst.colRef("assorsltcnts"));
  1371. //window.parent.javascript.fSetJudgStat(grd_rsltlst.colRef("assorsltcnts"));
  1372. }
  1373. grd_rsltlst.row = grd_rsltlst.row +1;
  1374. }
  1375. }
  1376. ]]>
  1377. </script>
  1378. <script type="javascript" ev:event="onstartedit">
  1379. <![CDATA[
  1380. if(getUserInfo("dutplceinstcd") == "011"){
  1381. if (grd_rsltlst.valueMatrix(grd_rsltlst.row,grd_rsltlst.colRef("rsltflag"))=="O" && grd_rsltlst.col == grd_rsltlst.colRef("assorsltcnts")){
  1382. var testcd = grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("testcd"));
  1383. model.removeNodeset("/root/main/tempinfo/assorsltlst/itemasso");
  1384. grd_assorsltlst.rebuild();
  1385. var nodeCount = getNodesetCount("/root/main/acptinfo/rsltlst/itemassoexmp");
  1386. for (var i=0; i<=nodeCount;i++){
  1387. if (model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+ i +"]/testcd") == testcd){
  1388. grd_assorsltlst.addRow();
  1389. grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltcd")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltcd");
  1390. grd_assorsltlst.valueMatrix(grd_assorsltlst.row, grd_assorsltlst.colRef("rsltnm")) = model.getValue("/root/main/acptinfo/rsltlst/itemassoexmp["+i+"]/rsltnm");
  1391. }
  1392. }
  1393. grp_asso.visible = true;
  1394. model.refresh();
  1395. }
  1396. }
  1397. ]]>
  1398. </script>
  1399. </datagrid>
  1400. <group id="grp_batjudg" visibility="hidden" style="left:10px; top:120px; width:754px; height:63px; ">
  1401. <line id="line3" class="line_1" style="x1:0px; y1:2px; x2:750px; y2:2px; "/>
  1402. <select1 id="combo1" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrslt" appearance="minimal" style="left:393px; top:10px; width:80px; height:19px; ">
  1403. <choices>
  1404. <itemset nodeset="/root/init/judginfo/reactexamrsltlst/G030">
  1405. <label ref="cdnm"/>
  1406. <value ref="cdid"/>
  1407. </itemset>
  1408. </choices>
  1409. </select1>
  1410. <caption id="caption47" class="cell_1" style="left:582px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">기준치</caption>
  1411. <caption id="caption48" class="cell_1" style="left:315px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">결과</caption>
  1412. <caption id="caption49" class="cell_2" style="left:0px; top:7px; width:152px; height:23px; text-align:center; vertical-align:middle; ">분별잠혈 반응검사</caption>
  1413. <caption id="caption50" style="left:530px; top:10px; width:35px; height:19px; ">Ng/ml</caption>
  1414. <caption id="caption51" style="left:715px; top:10px; width:35px; height:19px; ">Ng/ml</caption>
  1415. <input id="input3" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrsltval" style="left:475px; top:10px; width:50px; height:19px; text-align:right; "/>
  1416. <input id="input4" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexamrsltbval" style="left:660px; top:10px; width:50px; height:19px; text-align:right; "/>
  1417. <caption id="caption52" class="cell_1" style="left:155px; top:7px; width:75px; height:23px; text-align:center; vertical-align:middle; ">검사방법</caption>
  1418. <line id="line30" class="line_2" style="x1:0px; y1:31px; x2:750px; y2:31px; "/>
  1419. <select1 id="combo2" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/reactexammthd" appearance="minimal" style="left:232px; top:10px; width:80px; height:19px; ">
  1420. <choices>
  1421. <itemset nodeset="/root/init/judginfo/reactexammthdlst/G029">
  1422. <label ref="cdnm"/>
  1423. <value ref="cdid"/>
  1424. </itemset>
  1425. </choices>
  1426. </select1>
  1427. <input id="input5" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgdd" class="input_essential" disabled="true" inputtype="date" style="left:67px; top:35px; width:110px; height:19px; "/>
  1428. <select1 id="combo3" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgdrid" class="combo" appearance="minimal" style="left:230px; top:35px; width:93px; height:19px; ">
  1429. <choices>
  1430. <itemset nodeset="/root/init/baseinfo/drlst/itemdr">
  1431. <label ref="drnm"/>
  1432. <value ref="drid"/>
  1433. </itemset>
  1434. </choices>
  1435. </select1>
  1436. <caption id="caption53" class="cell_1" style="left:178px; top:33px; width:50px; height:23px; text-align:center; vertical-align:middle; ">판정의</caption>
  1437. <caption id="caption54" class="cell_1" style="left:0px; top:33px; width:65px; height:23px; text-align:center; vertical-align:middle; ">판정일자</caption>
  1438. <line id="line32" class="line_1" style="x1:0px; y1:57px; x2:750px; y2:57px; "/>
  1439. <button id="button3" class="btn5_letter4" style="left:574px; top:37px; width:64px; height:19px; ">
  1440. <caption>결과저장</caption>
  1441. <script type="javascript" ev:event="DOMActivate">
  1442. <![CDATA[
  1443. if ( messageBox("결과내역을 ", "Q002") == 6 ) {
  1444. fInitSaveData();
  1445. fSaveBatchJudg("R");
  1446. }
  1447. ]]>
  1448. </script>
  1449. </button>
  1450. <button id="button5" class="btn5_letter4" style="left:640px; top:37px; width:64px; height:19px; ">
  1451. <caption>판정저장</caption>
  1452. <script type="javascript" ev:event="DOMActivate">
  1453. <![CDATA[
  1454. if ( messageBox("결과내역을 ", "Q002") == 6 ) {
  1455. fInitSaveData();
  1456. fSaveBatchJudg("J");
  1457. }
  1458. ]]>
  1459. </script>
  1460. </button>
  1461. <button id="button6" class="btn2_letter2" style="left:706px; top:37px; width:42px; height:19px; ">
  1462. <caption>닫기</caption>
  1463. <script type="javascript" ev:event="DOMActivate">
  1464. <![CDATA[
  1465. model.resetInstanceNode("/root/main/acptinfo/judginfo/batchlicncrjudg");
  1466. grp_batjudg.visible = false;
  1467. ]]>
  1468. </script>
  1469. </button>
  1470. <caption id="caption55" class="cell_1" style="left:328px; top:33px; width:60px; height:23px; text-align:center; vertical-align:middle; ">판정구분</caption>
  1471. <select1 id="rdo_batchjudgcolonflag" ref="/root/main/acptinfo/judginfo/batchlicncrjudg/judgcolonflag" appearance="full" cellspacing="0" cols="1" rows="1" vcellspacing="5" overflow="hidden" style="left:392px; top:36px; width:133px; height:20px; border-style:none; ">
  1472. <choices>
  1473. <itemset nodeset="/root/init/judginfo/judgcolonflaglst/G041">
  1474. <label ref="cdnm"/>
  1475. <value ref="cdid"/>
  1476. </itemset>
  1477. </choices>
  1478. <script type="javascript" ev:event="xforms-value-changed">
  1479. <![CDATA[
  1480. var judgcolonflag = model.getValue("/root/main/acptinfo/judginfo/licncrjudg/judgcolonflag");
  1481. if (judgcolonflag == "05") {
  1482. ipt_judgcolonflagrem.disabled = false;
  1483. } else {
  1484. ipt_judgcolonflagrem.disabled = true;
  1485. }
  1486. ]]>
  1487. </script>
  1488. </select1>
  1489. </group>
  1490. <button id="btn_small" class="icon_top" style="left:5px; top:1px; width:26px; height:19px; ">
  1491. <caption/>
  1492. <script type="javascript" ev:event="DOMActivate">
  1493. <![CDATA[
  1494. fSetRsltSwtSize(false);
  1495. ]]>
  1496. </script>
  1497. </button>
  1498. <button id="btn_large" class="icon_bottom" style="left:5px; top:1px; width:26px; height:19px; ">
  1499. <caption/>
  1500. <script type="javascript" ev:event="DOMActivate">
  1501. <![CDATA[
  1502. fSetRsltSwtSize(true);
  1503. ]]>
  1504. </script>
  1505. </button>
  1506. <group id="grp_asso" visibility="hidden" style="left:80px; top:55px; width:275px; height:245px; ">
  1507. <caption id="caption57" class="tit_2" style="left:5px; top:5px; width:108px; height:14px; ">공단결과입력</caption>
  1508. <datagrid id="grd_assorsltlst" nodeset="/root/main/tempinfo/assorsltlst/itemasso" allowselection="false" caption="코드^결과내용" colsep="^" colwidth="36, 185" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="byrow" style="left:5px; top:23px; width:265px; height:215px; ">
  1509. <col ref="rsltcd"/>
  1510. <col ref="rsltnm"/>
  1511. <script type="javascript" ev:event="ondblclick">
  1512. <![CDATA[
  1513. //그리드의 셀 이외의 곳을 클릭하면 종료한다.
  1514. if(!eval(grd_assorsltlst.iscell(event.target))) return false;
  1515. // 그리드의 헤더부분을 클릭하면 종료한다.
  1516. if(eval(grd_assorsltlst.row) < eval(grd_assorsltlst.fixedRows)) return false;
  1517. var idx = grd_assorsltlst.row;
  1518. if( idx < 1) return ;
  1519. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcnts")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltnm" );
  1520. grd_rsltlst.valueMatrix(grd_rsltlst.row, grd_rsltlst.colRef("assorsltcd")) = model.getValue("/root/main/tempinfo/assorsltlst/itemasso[" + idx + "]/rsltcd" );
  1521. grd_rsltlst.rowStatus(grd_rsltlst.row) = 2;
  1522. var nextRow = grd_rsltlst.row + 1
  1523. if(grd_rsltlst.colType(grd_rsltlst.col) == "input" && nextRow < grd_rsltlst.rows) {
  1524. grd_rsltlst.row = nextRow;
  1525. grd_rsltlst.editCell();
  1526. }
  1527. if(grd_rsltlst.valueMatrix(nextRow, grd_rsltlst.colRef("rsltflag")) != "O"){
  1528. grp_asso.visible = false;
  1529. }else{
  1530. grp_asso.visible = true;
  1531. }
  1532. ]]>
  1533. </script>
  1534. </datagrid>
  1535. <line id="line19" class="line_1" style="x1:5px; y1:20px; x2:270px; y2:20px; "/>
  1536. <button id="btn_assoclose" class="icon_plus" style="left:255px; top:4px; width:13px; height:15px; ">
  1537. <caption/>
  1538. <script type="javascript" ev:event="DOMActivate">
  1539. <![CDATA[
  1540. grp_asso.visible = false;
  1541. ]]>
  1542. </script>
  1543. </button>
  1544. </group>
  1545. </xhtml:body>
  1546. </xhtml:html>